<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<html>
<head>
	<meta charset="UTF-8">
	<link rel="stylesheet" th:href="@{/webjars/layui/css/layui.css}">
</head>
<body>

	<div class="layui-form-item">

		<div class="layui-inline">
			<label class="layui-form-label">真实姓名</label>
			<div class="layui-input-inline" style="width: 150px;">
				<input type="text" id="realName" name="realName" autocomplete="off" class="layui-input">
			</div>
		</div>

		<div class="layui-inline">
			<label class="layui-form-label">手机号码</label>
			<div class="layui-input-inline" style="width: 150px;">
				<input type="text" id="phone" name="phone" autocomplete="off"
					class="layui-input">
			</div>
		</div>

		<div class="layui-inline">
			<div class="layui-input-inline">
				<button class="layui-btn" onclick="query()" >查询</button>
			</div>
		</div>

	</div>

	<button class="layui-btn" onclick="toAdd()">增加</button>

	<table id="customerList" class="layui-table" lay-filter="tableDemo"></table>

	<script th:src="@{/webjars/jquery/jquery.js}"></script>
	<script th:src="@{/webjars/layui/layui.all.js}"></script>
	<script type="text/html" id="barDemo">
  		<a class="layui-btn layui-btn-xs" lay-event="detail">查看</a>
 		<a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  		<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
	</script>
	<script th:src="@{/js/customer/customer.js}"></script>
	<script th:src="@{/js/common.js}"></script>

</body>
</html>